Skip to content

Don't use the escaped persistence keys when we write to Local Storage #1281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 3, 2018

Conversation

schmidt-sebastian
Copy link
Contributor

@schmidt-sebastian schmidt-sebastian commented Oct 3, 2018

I think this is the last regression that prevents multi-tab from working... Broke with ac7f9ce

When we write to LS, we should use the unescaped key. Only when we use the key in a RegExp does it need to be escaped. To catch this failure, I changed the test persistence key to include brackets.

@schmidt-sebastian schmidt-sebastian merged commit f213ba6 into master Oct 3, 2018
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt-fixkeyescaping branch October 15, 2018 17:25
@firebase firebase locked and limited conversation to collaborators Oct 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants